<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
      <el-form-item label="日期" prop="cDate">
        <el-date-picker
          v-model="queryParams.cDate"
          type="date"
          size="small"
          value-format="yyyy-MM-dd"
          @keyup.enter.native="handleQuery"
          placeholder="请输入查询日期">
        </el-date-picker>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>

    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['scrb:scc:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['scrb:scc:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['scrb:scc:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['scrb:scc:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>

    <el-table v-loading="loading" :data="sccList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="日期" align="center" prop="cDate" />
      <el-table-column label="全焦当日目标产量" align="center" prop="cSccClQjDrMb" />
      <el-table-column label="冶金焦当日目标产量" align="center" prop="cSccClYqjDrMb" />
      <el-table-column label="煤焦油当日目标产量" align="center" prop="cSccClMjyDrMb" />
      <el-table-column label="硫酸铵当日目标产量" align="center" prop="cSccClLsaDrMb" />
      <el-table-column label="轻苯当日目标产量" align="center" prop="cSccClQbDrMb" />
      <el-table-column label="1号回转窑当日目标产量" align="center" prop="cSccCl1hzyDrMb" />
      <el-table-column label="2号回转窑当日目标产量" align="center" prop="cSccCl2hzyDrMb" />
      <el-table-column label="宝龙球团当日目标产量" align="center" prop="cSccClBlqtDrMb" />
      <el-table-column label="氢冶金当日目标产量" align="center" prop="cSccClQyjDrMb" />
      <el-table-column label="白灰当日目标产量" align="center" prop="cSccClBhDrMb" />
      <el-table-column label="1号连铸机当日目标产量" align="center" prop="cSccCl1lzjDrMb" />
      <el-table-column label="2号连铸机当日目标产量" align="center" prop="cSccCl2lzjDrMb" />
      <el-table-column label="3号连铸机当日目标产量" align="center" prop="cSccCl3lzjDrMb" />
      <el-table-column label="废钢破碎当日目标产量" align="center" prop="cSccClPsDrMb" />
      <el-table-column label="废钢剪切当日目标产量" align="center" prop="cSccClJqDrMb" />
      <el-table-column label="钢渣当日目标产量" align="center" prop="cSccClGzDrMb" />
      <el-table-column label="磁选粉当日目标产量" align="center" prop="cSccClQxfDrMb" />
      <el-table-column label="尾渣当日目标产量" align="center" prop="cSccClWxDrMb" />
      <el-table-column label="二棒当日目标产量" align="center" prop="cSccCl1bDrMb" />
      <el-table-column label="三棒当日目标产量" align="center" prop="cSccCl2bDrMb" />
      <el-table-column label="一线当日目标产量" align="center" prop="cSccCl1yDrMb" />
      <el-table-column label="二线当日目标产量" align="center" prop="cSccCl2yDrMb" />
      <el-table-column label="中型当日目标产量" align="center" prop="cSccClZxDrMb" />
      <el-table-column label="中频当日目标产量" align="center" prop="cSccClZpDrMb" />
      <el-table-column label="真空感应当日目标产量" align="center" prop="cSccClZkgyDrMb" />
      <el-table-column label="电渣当日目标产量" align="center" prop="cSccClDzDrMb" />
      <el-table-column label="真空自耗当日目标产量" align="center" prop="cSccClZkzhDrMb" />
      <el-table-column label="成品当日目标产量" align="center" prop="cSccClCpDrMb" />
      <el-table-column label="钢绞线当日目标产量" align="center" prop="cSccClGjxDrMb" />
      <el-table-column label="镀锌想当日目标产量" align="center" prop="cSccClDxxDrMb" />
      <el-table-column label="蒸汽发电当日目标产量" align="center" prop="cSccClZqDrMb" />
      <el-table-column label="干熄焦发电当日目标产量" align="center" prop="cSccClGxjDrMb" />
      <el-table-column label="氧气当日目标产量" align="center" prop="cSccClOxygenDrMb" />
      <el-table-column label="氮气当日目标产量" align="center" prop="cSccClNitrogenDrMb" />
      <el-table-column label="氩气当日目标产量" align="center" prop="cSccClArgonDrMb" />
      <el-table-column label="全焦累计目标产量" align="center" prop="cSccClQjLjMb" />
      <el-table-column label="冶金焦累计目标产量" align="center" prop="cSccClYqjLjMb" />
      <el-table-column label="煤焦油累计目标产量" align="center" prop="cSccClMjyLjMb" />
      <el-table-column label="硫酸铵累计目标产量" align="center" prop="cSccClLsaLjMb" />
      <el-table-column label="轻苯累计目标产量" align="center" prop="cSccClQbLjMb" />
      <el-table-column label="1号回转窑累计目标产量" align="center" prop="cSccCl1hzyLjMb" />
      <el-table-column label="2号回转窑累计目标产量" align="center" prop="cSccCl2hzyLjMb" />
      <el-table-column label="宝龙球团累计目标产量" align="center" prop="cSccClBlqtLjMb" />
      <el-table-column label="氢冶金累计目标产量" align="center" prop="cSccClQyjLjMb" />
      <el-table-column label="白灰累计目标产量" align="center" prop="cSccClBhLjMb" />
      <el-table-column label="1号连铸机累计目标产量" align="center" prop="cSccCl1lzjLjMb" />
      <el-table-column label="2号连铸机累计目标产量" align="center" prop="cSccCl2lzjLjMb" />
      <el-table-column label="3号连铸机累计目标产量" align="center" prop="cSccCl3lzjLjMb" />
      <el-table-column label="废钢破碎累计目标产量" align="center" prop="cSccClPsLjMb" />
      <el-table-column label="废钢剪切累计目标产量" align="center" prop="cSccClJqLjMb" />
      <el-table-column label="钢渣累计目标产量" align="center" prop="cSccClGzLjMb" />
      <el-table-column label="磁选粉累计目标产量" align="center" prop="cSccClQxfLjMb" />
      <el-table-column label="尾渣累计目标产量" align="center" prop="cSccClWxLjMb" />
      <el-table-column label="二棒累计目标产量" align="center" prop="cSccCl1bLjMb" />
      <el-table-column label="三棒累计目标产量" align="center" prop="cSccCl2bLjMb" />
      <el-table-column label="一线累计目标产量" align="center" prop="cSccCl1yLjMb" />
      <el-table-column label="二线累计目标产量" align="center" prop="cSccCl2yLjMb" />
      <el-table-column label="中型累计目标产量" align="center" prop="cSccClZxLjMb" />
      <el-table-column label="中频累计目标产量" align="center" prop="cSccClZpLjMb" />
      <el-table-column label="真空感应累计目标产量" align="center" prop="cSccClZkgyLjMb" />
      <el-table-column label="电渣累计目标产量" align="center" prop="cSccClDzLjMb" />
      <el-table-column label="真空自耗累计目标产量" align="center" prop="cSccClZkzhLjMb" />
      <el-table-column label="成品累计目标产量" align="center" prop="cSccClCpLjMb" />
      <el-table-column label="钢绞线累计目标产量" align="center" prop="cSccClGjxLjMb" />
      <el-table-column label="镀锌想累计目标产量" align="center" prop="cSccClDxxLjMb" />
      <el-table-column label="蒸汽发电累计目标产量" align="center" prop="cSccClZqLjMb" />
      <el-table-column label="干熄焦发电累计目标产量" align="center" prop="cSccClGxjLjMb" />
      <el-table-column label="氧气累计目标产量" align="center" prop="cSccClOxygenLjMb" />
      <el-table-column label="氮气累计目标产量" align="center" prop="cSccClNitrogenLjMb" />
      <el-table-column label="氩气累计目标产量" align="center" prop="cSccClArgonLjMb" />
      <el-table-column label="全焦当月目标产量" align="center" prop="cSccClQjDyMb" />
      <el-table-column label="冶金焦当月目标产量" align="center" prop="cSccClYqjDyMb" />
      <el-table-column label="煤焦油当月目标产量" align="center" prop="cSccClMjyDyMb" />
      <el-table-column label="硫酸铵当月目标产量" align="center" prop="cSccClLsaDyMb" />
      <el-table-column label="轻苯当月目标产量" align="center" prop="cSccClQbDyMb" />
      <el-table-column label="1号回转窑当月目标产量" align="center" prop="cSccCl1hzyDyMb" />
      <el-table-column label="2号回转窑当月目标产量" align="center" prop="cSccCl2hzyDyMb" />
      <el-table-column label="宝龙球团当月目标产量" align="center" prop="cSccClBlqtDyMb" />
      <el-table-column label="氢冶金当月目标产量" align="center" prop="cSccClQyjDyMb" />
      <el-table-column label="白灰当月目标产量" align="center" prop="cSccClBhDyMb" />
      <el-table-column label="1号连铸机当月目标产量" align="center" prop="cSccCl1lzjDyMb" />
      <el-table-column label="2号连铸机当月目标产量" align="center" prop="cSccCl2lzjDyMb" />
      <el-table-column label="3号连铸机当月目标产量" align="center" prop="cSccCl3lzjDyMb" />
      <el-table-column label="废钢破碎当月目标产量" align="center" prop="cSccClPsDyMb" />
      <el-table-column label="废钢剪切当月目标产量" align="center" prop="cSccClJqDyMb" />
      <el-table-column label="钢渣当月目标产量" align="center" prop="cSccClGzDyMb" />
      <el-table-column label="磁选粉当月目标产量" align="center" prop="cSccClQxfDyMb" />
      <el-table-column label="尾渣当月目标产量" align="center" prop="cSccClWxDyMb" />
      <el-table-column label="二棒当月目标产量" align="center" prop="cSccCl1bDyMb" />
      <el-table-column label="三棒当月目标产量" align="center" prop="cSccCl2bDyMb" />
      <el-table-column label="一线当月目标产量" align="center" prop="cSccCl1yDyMb" />
      <el-table-column label="二线当月目标产量" align="center" prop="cSccCl2yDyMb" />
      <el-table-column label="中型当月目标产量" align="center" prop="cSccClZxDyMb" />
      <el-table-column label="中频当月目标产量" align="center" prop="cSccClZpDyMb" />
      <el-table-column label="真空感应当月目标产量" align="center" prop="cSccClZkgyDyMb" />
      <el-table-column label="电渣当月目标产量" align="center" prop="cSccClDzDyMb" />
      <el-table-column label="真空自耗当月目标产量" align="center" prop="cSccClZkzhDyMb" />
      <el-table-column label="成品当月目标产量" align="center" prop="cSccClCpDyMb" />
      <el-table-column label="钢绞线当月目标产量" align="center" prop="cSccClGjxDyMb" />
      <el-table-column label="镀锌想当月目标产量" align="center" prop="cSccClDxxDyMb" />
      <el-table-column label="蒸汽发电当月目标产量" align="center" prop="cSccClZqDyMb" />
      <el-table-column label="干熄焦发电当月目标产量" align="center" prop="cSccClGxjDyMb" />
      <el-table-column label="氧气当月目标产量" align="center" prop="cSccClOxygenDyMb" />
      <el-table-column label="氮气当月目标产量" align="center" prop="cSccClNitrogenDyMb" />
      <el-table-column label="氩气当月目标产量" align="center" prop="cSccClArgonDyMb" />
      <el-table-column label="备注" align="center" prop="remake" />
      <!--<el-table-column label="${comment}" align="center" prop="zfree1" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree2" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree3" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree4" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree5" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree6" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree7" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree8" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree9" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree10" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree11" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree12" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree13" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree14" />-->
      <!--<el-table-column label="${comment}" align="center" prop="zfree15" />-->
      <el-table-column label="删除标志" align="center" prop="cState" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['scrb:scc:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['scrb:scc:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
    </el-table>

    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />

    <!-- 添加或修改生产处生产日报录入对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="日期" prop="cDate" >
          <el-date-picker
            v-model="form.cDate"
            :disabled=!isInsert
            type="date"
            size="small"
            value-format="yyyy-MM-dd"
            placeholder="请输入日期">
          </el-date-picker>
        </el-form-item>
        <table>
          <caption>目标</caption>
          <tr>
            <td width="80px"></td>
            <td>当日目标</td>
            <td>累计目标</td>
            <td>当月目标</td>
          </tr>
          <tr>
            <td>全焦</td>
            <td><el-input-number v-model="form.cSccClQjDrMb" placeholder="请输入全焦当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClQjLjMb" placeholder="请输入全焦累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClQjDyMb" placeholder="请输入全焦当月目标产量" /></td>
          </tr>
          <tr>
            <td>冶金焦</td>
            <td><el-input-number v-model="form.cSccClYqjDrMb" placeholder="请输入冶金焦当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClYqjLjMb" placeholder="请输入冶金焦累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClYqjDyMb" placeholder="请输入冶金焦当月目标产量" /></td>
          </tr>
          <tr>
            <td>煤焦油</td>
            <td><el-input-number v-model="form.cSccClMjyDrMb" placeholder="请输入煤焦油当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClMjyLjMb" placeholder="请输入煤焦油累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClMjyDyMb" placeholder="请输入煤焦油当月目标产量" /></td>
          </tr>
          <tr>
            <td>硫酸铵</td>
            <td><el-input-number v-model="form.cSccClLsaDrMb" placeholder="请输入硫酸铵当日目标产量" /></td>
            <td> <el-input-number v-model="form.cSccClLsaLjMb" placeholder="请输入硫酸铵累计目标产量" /></td>
            <td> <el-input-number v-model="form.cSccClLsaDyMb" placeholder="请输入硫酸铵当月目标产量" /></td>
          </tr>
          <tr>
            <td>轻苯</td>
            <td><el-input-number v-model="form.cSccClQbDrMb" placeholder="请输入轻苯当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClQbLjMb" placeholder="请输入轻苯累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClQbDyMb" placeholder="请输入轻苯当月目标产量" /></td>
          </tr>
          <tr>
            <td>1号回转窑</td>
            <td><el-input-number v-model="form.cSccCl1hzyDrMb" placeholder="请输入1号回转窑当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl1hzyLjMb" placeholder="请输入1号回转窑累计目标产量" /></td>
            <td> <el-input-number v-model="form.cSccCl1hzyDyMb" placeholder="请输入1号回转窑当月目标产量" /></td>
          </tr>
          <tr>
            <td>2号回转窑</td>
            <td><el-input-number v-model="form.cSccCl2hzyDrMb" placeholder="请输入2号回转窑当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl2hzyLjMb" placeholder="请输入2号回转窑累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl2hzyDyMb" placeholder="请输入2号回转窑当月目标产量" /></td>
          </tr>
          <tr>
            <td>宝龙球团</td>
            <td><el-input-number v-model="form.cSccClBlqtDrMb" placeholder="请输入宝龙球团当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClBlqtLjMb" placeholder="请输入宝龙球团累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClBlqtDyMb" placeholder="请输入宝龙球团当月目标产量" /></td>
          </tr>
          <tr>
            <td>氢冶金</td>
            <td><el-input-number v-model="form.cSccClQyjDrMb" placeholder="请输入氢冶金当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClQyjLjMb" placeholder="请输入氢冶金累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClQyjDyMb" placeholder="请输入氢冶金当月目标产量" /></td>
          </tr>
          <tr>
            <td>白灰</td>
            <td><el-input-number v-model="form.cSccClBhDrMb" placeholder="请输入白灰当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClBhLjMb" placeholder="请输入白灰累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClBhDyMb" placeholder="请输入白灰当月目标产量" /></td>
          </tr>
          <tr>
            <td>1号连铸机</td>
            <td><el-input-number v-model="form.cSccCl1lzjDrMb" placeholder="请输入1号连铸机当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl1lzjLjMb" placeholder="请输入1号连铸机累计目标产量" /></td>
            <td rowspan="2"><el-input-number v-model="form.cSccCl1lzjDyMb" placeholder="请输入1号连铸机当月目标产量" /></td>
          </tr>
          <tr>
            <td>2号连铸机</td>
            <td><el-input-number v-model="form.cSccCl2lzjDrMb" placeholder="请输入2号连铸机当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl2lzjLjMb" placeholder="请输入2号连铸机累计目标产量" /></td>
            <!--<td><el-input-number v-model="form.cSccCl2lzjDyMb" placeholder="请输入2号连铸机当月目标产量" /></td>-->
          </tr>
          <tr>
            <td>3号连铸机</td>
            <td><el-input-number v-model="form.cSccCl3lzjDrMb" placeholder="请输入3号连铸机当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl3lzjLjMb" placeholder="请输入3号连铸机累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl3lzjDyMb" placeholder="请输入3号连铸机当月目标产量" /></td>
          </tr>
          <tr>
            <td>废钢破碎</td>
            <td><el-input-number v-model="form.cSccClPsDrMb" placeholder="请输入废钢破碎当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClPsLjMb" placeholder="请输入废钢破碎累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClPsDyMb" placeholder="请输入废钢破碎当月目标产量" /></td>
          </tr>
          <tr>
            <td>废钢剪切</td>
            <td><el-input-number v-model="form.cSccClJqDrMb" placeholder="请输入废钢剪切当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClJqLjMb" placeholder="请输入废钢剪切累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClJqDyMb" placeholder="请输入废钢剪切当月目标产量" /></td>
          </tr>
          <tr>
            <td>钢渣</td>
            <td><el-input-number v-model="form.cSccClGzDrMb" placeholder="请输入钢渣当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClGzLjMb" placeholder="请输入钢渣累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClGzDyMb" placeholder="请输入钢渣当月目标产量" /></td>
          </tr>
          <tr>
            <td>磁选粉</td>
            <td><el-input-number v-model="form.cSccClQxfDrMb" placeholder="请输入磁选粉当日目标产量" /></td>
            <td> <el-input-number v-model="form.cSccClQxfLjMb" placeholder="请输入磁选粉累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClQxfDyMb" placeholder="请输入磁选粉当月目标产量" /></td>
          </tr>
          <tr>
            <td>尾渣</td>
            <td><el-input-number v-model="form.cSccClWxDrMb" placeholder="请输入尾渣当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClWxLjMb" placeholder="请输入尾渣累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClWxDyMb" placeholder="请输入尾渣当月目标产量" /></td>
          </tr>
          <tr>
            <td>二棒</td>
            <td><el-input-number v-model="form.cSccCl1bDrMb" placeholder="请输入一棒当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl1bLjMb" placeholder="请输入一棒累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl1bDyMb" placeholder="请输入一棒当月目标产量" /></td>
          </tr>
          <tr>
            <td>三棒</td>
            <td><el-input-number v-model="form.cSccCl2bDrMb" placeholder="请输入二棒当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl2bLjMb" placeholder="请输入二棒累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl2bDyMb" placeholder="请输入二棒当月目标产量" /></td>
          </tr>
          <tr>
            <td>一线</td>
            <td><el-input-number v-model="form.cSccCl1yDrMb" placeholder="请输入一线当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl1yLjMb" placeholder="请输入一线累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl1yDyMb" placeholder="请输入一线当月目标产量" /></td>
          </tr>
          <tr>
            <td>二线</td>
            <td><el-input-number v-model="form.cSccCl2yDrMb" placeholder="请输入二线当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl2yLjMb" placeholder="请输入二线累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccCl2yDyMb" placeholder="请输入二线当月目标产量" /></td>
          </tr>
          <tr>
            <td>中型</td>
            <td><el-input-number v-model="form.cSccClZxDrMb" placeholder="请输入中型当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClZxLjMb" placeholder="请输入中型累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClZxDyMb" placeholder="请输入中型当月目标产量" /></td>
          </tr>
          <tr>
            <td>中频</td>
            <td><el-input-number v-model="form.cSccClZpDrMb" placeholder="请输入中频当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClZpLjMb" placeholder="请输入中频累计目标产量" /></td>
            <td> <el-input-number v-model="form.cSccClZpDyMb" placeholder="请输入中频当月目标产量" /></td>
          </tr>
          <tr>
            <td>真空感应</td>
            <td><el-input-number v-model="form.cSccClZkgyDrMb" placeholder="请输入真空感应当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClZkgyLjMb" placeholder="请输入真空感应累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClZkgyDyMb" placeholder="请输入真空感应当月目标产量" /></td>
          </tr>
          <tr>
            <td>电渣</td>
            <td><el-input-number v-model="form.cSccClDzDrMb" placeholder="请输入电渣当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClDzLjMb" placeholder="请输入电渣累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClDzDyMb" placeholder="请输入电渣当月目标产量" /></td>
          </tr>
          <tr>
            <td>真空自耗</td>
            <td><el-input-number v-model="form.cSccClZkzhDrMb" placeholder="请输入真空自耗当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClZkzhLjMb" placeholder="请输入真空自耗累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClZkzhDyMb" placeholder="请输入真空自耗当月目标产量" /></td>
          </tr>
          <tr>
            <td>成品</td>
            <td><el-input-number v-model="form.cSccClCpDrMb" placeholder="请输入成品当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClCpLjMb" placeholder="请输入成品累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClCpDyMb" placeholder="请输入成品当月目标产量" /></td>
          </tr>
          <tr>
            <td>钢绞线</td>
            <td><el-input-number v-model="form.cSccClGjxDrMb" placeholder="请输入钢绞线当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClGjxLjMb" placeholder="请输入钢绞线累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClGjxDyMb" placeholder="请输入钢绞线当月目标产量" /></td>
          </tr>
          <tr>
            <td>镀锌线</td>
            <td><el-input-number v-model="form.cSccClDxxDrMb" placeholder="请输入镀锌线当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClDxxLjMb" placeholder="请输入镀锌线累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClDxxDyMb" placeholder="请输入镀锌线当月目标产量" /></td>
          </tr>
          <tr>
            <td>蒸汽发电</td>
            <td><el-input-number v-model="form.cSccClZqDrMb" placeholder="请输入蒸汽发电当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClZqLjMb" placeholder="请输入蒸汽发电累计目标产量" /></td>
            <td> <el-input-number v-model="form.cSccClZqDyMb" placeholder="请输入蒸汽发电当月目标产量" /></td>
          </tr>
          <tr>
            <td>干熄焦发电</td>
            <td><el-input-number v-model="form.cSccClGxjDrMb" placeholder="请输入干熄焦发电当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClGxjLjMb" placeholder="请输入干熄焦发电累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClGxjDyMb" placeholder="请输入干熄焦发电当月目标产量" /></td>
          </tr>
          <tr>
            <td>氧气</td>
            <td><el-input-number v-model="form.cSccClOxygenDrMb" placeholder="请输入氧气当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClOxygenLjMb" placeholder="请输入氧气累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClOxygenDyMb" placeholder="请输入氧气当月目标产量" /></td>
          </tr>
          <tr>
            <td>氮气</td>
            <td><el-input-number v-model="form.cSccClNitrogenDrMb" placeholder="请输入氮气当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClNitrogenLjMb" placeholder="请输入氮气累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClNitrogenDyMb" placeholder="请输入氮气当月目标产量" /></td>
          </tr>
          <tr>
            <td>氩气</td>
            <td><el-input-number v-model="form.cSccClArgonDrMb" placeholder="请输入氩气当日目标产量" /></td>
            <td><el-input-number v-model="form.cSccClArgonLjMb" placeholder="请输入氩气累计目标产量" /></td>
            <td><el-input-number v-model="form.cSccClArgonDyMb" placeholder="请输入氩气当月目标产量" /></td>
          </tr>
        </table>
        <!--<el-form-item label="全焦当日目标产量" prop="cSccClQjDrMb">-->
          <!--<el-input-number v-model="form.cSccClQjDrMb" placeholder="请输入全焦当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="冶金焦当日目标产量" prop="cSccClYqjDrMb">-->
          <!--<el-input-number v-model="form.cSccClYqjDrMb" placeholder="请输入冶金焦当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="煤焦油当日目标产量" prop="cSccClMjyDrMb">-->
          <!--<el-input-number v-model="form.cSccClMjyDrMb" placeholder="请输入煤焦油当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="硫酸铵当日目标产量" prop="cSccClLsaDrMb">-->
          <!--<el-input-number v-model="form.cSccClLsaDrMb" placeholder="请输入硫酸铵当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="轻苯当日目标产量" prop="cSccClQbDrMb">-->
          <!--<el-input-number v-model="form.cSccClQbDrMb" placeholder="请输入轻苯当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="1号回转窑当日目标产量" prop="cSccCl1hzyDrMb">-->
          <!--<el-input-number v-model="form.cSccCl1hzyDrMb" placeholder="请输入1号回转窑当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="2号回转窑当日目标产量" prop="cSccCl2hzyDrMb">-->
          <!--<el-input-number v-model="form.cSccCl2hzyDrMb" placeholder="请输入2号回转窑当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="宝龙球团当日目标产量" prop="cSccClBlqtDrMb">-->
          <!--<el-input-number v-model="form.cSccClBlqtDrMb" placeholder="请输入宝龙球团当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="氢冶金当日目标产量" prop="cSccClQyjDrMb">-->
          <!--<el-input-number v-model="form.cSccClQyjDrMb" placeholder="请输入氢冶金当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="白灰当日目标产量" prop="cSccClBhDrMb">-->
          <!--<el-input-number v-model="form.cSccClBhDrMb" placeholder="请输入白灰当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="1号连铸机当日目标产量" prop="cSccCl1lzjDrMb">-->
          <!--<el-input-number v-model="form.cSccCl1lzjDrMb" placeholder="请输入1号连铸机当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="2号连铸机当日目标产量" prop="cSccCl2lzjDrMb">-->
          <!--<el-input-number v-model="form.cSccCl2lzjDrMb" placeholder="请输入2号连铸机当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="3号连铸机当日目标产量" prop="cSccCl3lzjDrMb">-->
          <!--<el-input-number v-model="form.cSccCl3lzjDrMb" placeholder="请输入3号连铸机当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="废钢破碎当日目标产量" prop="cSccClPsDrMb">-->
          <!--<el-input-number v-model="form.cSccClPsDrMb" placeholder="请输入废钢破碎当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="废钢剪切当日目标产量" prop="cSccClJqDrMb">-->
          <!--<el-input-number v-model="form.cSccClJqDrMb" placeholder="请输入废钢剪切当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="钢渣当日目标产量" prop="cSccClGzDrMb">-->
          <!--<el-input-number v-model="form.cSccClGzDrMb" placeholder="请输入钢渣当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="磁选粉当日目标产量" prop="cSccClQxfDrMb">-->
          <!--<el-input-number v-model="form.cSccClQxfDrMb" placeholder="请输入磁选粉当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="尾渣当日目标产量" prop="cSccClWxDrMb">-->
          <!--<el-input-number v-model="form.cSccClWxDrMb" placeholder="请输入尾渣当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="一棒当日目标产量" prop="cSccCl1bDrMb">-->
          <!--<el-input-number v-model="form.cSccCl1bDrMb" placeholder="请输入一棒当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="二棒当日目标产量" prop="cSccCl2bDrMb">-->
          <!--<el-input-number v-model="form.cSccCl2bDrMb" placeholder="请输入二棒当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="一线当日目标产量" prop="cSccCl1yDrMb">-->
          <!--<el-input-number v-model="form.cSccCl1yDrMb" placeholder="请输入一线当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="二线当日目标产量" prop="cSccCl2yDrMb">-->
          <!--<el-input-number v-model="form.cSccCl2yDrMb" placeholder="请输入二线当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中型当日目标产量" prop="cSccClZxDrMb">-->
          <!--<el-input-number v-model="form.cSccClZxDrMb" placeholder="请输入中型当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中频当日目标产量" prop="cSccClZpDrMb">-->
          <!--<el-input-number v-model="form.cSccClZpDrMb" placeholder="请输入中频当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="真空感应当日目标产量" prop="cSccClZkgyDrMb">-->
          <!--<el-input-number v-model="form.cSccClZkgyDrMb" placeholder="请输入真空感应当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="电渣当日目标产量" prop="cSccClDzDrMb">-->
          <!--<el-input-number v-model="form.cSccClDzDrMb" placeholder="请输入电渣当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="真空自耗当日目标产量" prop="cSccClZkzhDrMb">-->
          <!--<el-input-number v-model="form.cSccClZkzhDrMb" placeholder="请输入真空自耗当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="成品当日目标产量" prop="cSccClCpDrMb">-->
          <!--<el-input-number v-model="form.cSccClCpDrMb" placeholder="请输入成品当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="钢绞线当日目标产量" prop="cSccClGjxDrMb">-->
          <!--<el-input-number v-model="form.cSccClGjxDrMb" placeholder="请输入钢绞线当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="镀锌想当日目标产量" prop="cSccClDxxDrMb">-->
          <!--<el-input-number v-model="form.cSccClDxxDrMb" placeholder="请输入镀锌想当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="蒸汽发电当日目标产量" prop="cSccClZqDrMb">-->
          <!--<el-input-number v-model="form.cSccClZqDrMb" placeholder="请输入蒸汽发电当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="干熄焦发电当日目标产量" prop="cSccClGxjDrMb">-->
          <!--<el-input-number v-model="form.cSccClGxjDrMb" placeholder="请输入干熄焦发电当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="氧气当日目标产量" prop="cSccClOxygenDrMb">-->
          <!--<el-input-number v-model="form.cSccClOxygenDrMb" placeholder="请输入氧气当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="氮气当日目标产量" prop="cSccClNitrogenDrMb">-->
          <!--<el-input-number v-model="form.cSccClNitrogenDrMb" placeholder="请输入氮气当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="氩气当日目标产量" prop="cSccClArgonDrMb">-->
          <!--<el-input-number v-model="form.cSccClArgonDrMb" placeholder="请输入氩气当日目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="全焦累计目标产量" prop="cSccClQjLjMb">-->
          <!--<el-input-number v-model="form.cSccClQjLjMb" placeholder="请输入全焦累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="冶金焦累计目标产量" prop="cSccClYqjLjMb">-->
          <!--<el-input-number v-model="form.cSccClYqjLjMb" placeholder="请输入冶金焦累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="煤焦油累计目标产量" prop="cSccClMjyLjMb">-->
          <!--<el-input-number v-model="form.cSccClMjyLjMb" placeholder="请输入煤焦油累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="硫酸铵累计目标产量" prop="cSccClLsaLjMb">-->
          <!--<el-input-number v-model="form.cSccClLsaLjMb" placeholder="请输入硫酸铵累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="轻苯累计目标产量" prop="cSccClQbLjMb">-->
          <!--<el-input-number v-model="form.cSccClQbLjMb" placeholder="请输入轻苯累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="1号回转窑累计目标产量" prop="cSccCl1hzyLjMb">-->
          <!--<el-input-number v-model="form.cSccCl1hzyLjMb" placeholder="请输入1号回转窑累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="2号回转窑累计目标产量" prop="cSccCl2hzyLjMb">-->
          <!--<el-input-number v-model="form.cSccCl2hzyLjMb" placeholder="请输入2号回转窑累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="宝龙球团累计目标产量" prop="cSccClBlqtLjMb">-->
          <!--<el-input-number v-model="form.cSccClBlqtLjMb" placeholder="请输入宝龙球团累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="氢冶金累计目标产量" prop="cSccClQyjLjMb">-->
          <!--<el-input-number v-model="form.cSccClQyjLjMb" placeholder="请输入氢冶金累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="白灰累计目标产量" prop="cSccClBhLjMb">-->
          <!--<el-input-number v-model="form.cSccClBhLjMb" placeholder="请输入白灰累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="1号连铸机累计目标产量" prop="cSccCl1lzjLjMb">-->
          <!--<el-input-number v-model="form.cSccCl1lzjLjMb" placeholder="请输入1号连铸机累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="2号连铸机累计目标产量" prop="cSccCl2lzjLjMb">-->
          <!--<el-input-number v-model="form.cSccCl2lzjLjMb" placeholder="请输入2号连铸机累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="3号连铸机累计目标产量" prop="cSccCl3lzjLjMb">-->
          <!--<el-input-number v-model="form.cSccCl3lzjLjMb" placeholder="请输入3号连铸机累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="废钢破碎累计目标产量" prop="cSccClPsLjMb">-->
          <!--<el-input-number v-model="form.cSccClPsLjMb" placeholder="请输入废钢破碎累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="废钢剪切累计目标产量" prop="cSccClJqLjMb">-->
          <!--<el-input-number v-model="form.cSccClJqLjMb" placeholder="请输入废钢剪切累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="钢渣累计目标产量" prop="cSccClGzLjMb">-->
          <!--<el-input-number v-model="form.cSccClGzLjMb" placeholder="请输入钢渣累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="磁选粉累计目标产量" prop="cSccClQxfLjMb">-->
          <!--<el-input-number v-model="form.cSccClQxfLjMb" placeholder="请输入磁选粉累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="尾渣累计目标产量" prop="cSccClWxLjMb">-->
          <!--<el-input-number v-model="form.cSccClWxLjMb" placeholder="请输入尾渣累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="一棒累计目标产量" prop="cSccCl1bLjMb">-->
          <!--<el-input-number v-model="form.cSccCl1bLjMb" placeholder="请输入一棒累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="二棒累计目标产量" prop="cSccCl2bLjMb">-->
          <!--<el-input-number v-model="form.cSccCl2bLjMb" placeholder="请输入二棒累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="一线累计目标产量" prop="cSccCl1yLjMb">-->
          <!--<el-input-number v-model="form.cSccCl1yLjMb" placeholder="请输入一线累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="二线累计目标产量" prop="cSccCl2yLjMb">-->
          <!--<el-input-number v-model="form.cSccCl2yLjMb" placeholder="请输入二线累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中型累计目标产量" prop="cSccClZxLjMb">-->
          <!--<el-input-number v-model="form.cSccClZxLjMb" placeholder="请输入中型累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中频累计目标产量" prop="cSccClZpLjMb">-->
          <!--<el-input-number v-model="form.cSccClZpLjMb" placeholder="请输入中频累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="真空感应累计目标产量" prop="cSccClZkgyLjMb">-->
          <!--<el-input-number v-model="form.cSccClZkgyLjMb" placeholder="请输入真空感应累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="电渣累计目标产量" prop="cSccClDzLjMb">-->
          <!--<el-input-number v-model="form.cSccClDzLjMb" placeholder="请输入电渣累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="真空自耗累计目标产量" prop="cSccClZkzhLjMb">-->
          <!--<el-input-number v-model="form.cSccClZkzhLjMb" placeholder="请输入真空自耗累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="成品累计目标产量" prop="cSccClCpLjMb">-->
          <!--<el-input-number v-model="form.cSccClCpLjMb" placeholder="请输入成品累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="钢绞线累计目标产量" prop="cSccClGjxLjMb">-->
          <!--<el-input-number v-model="form.cSccClGjxLjMb" placeholder="请输入钢绞线累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="镀锌想累计目标产量" prop="cSccClDxxLjMb">-->
          <!--<el-input-number v-model="form.cSccClDxxLjMb" placeholder="请输入镀锌想累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="蒸汽发电累计目标产量" prop="cSccClZqLjMb">-->
          <!--<el-input-number v-model="form.cSccClZqLjMb" placeholder="请输入蒸汽发电累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="干熄焦发电累计目标产量" prop="cSccClGxjLjMb">-->
          <!--<el-input-number v-model="form.cSccClGxjLjMb" placeholder="请输入干熄焦发电累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="氧气累计目标产量" prop="cSccClOxygenLjMb">-->
          <!--<el-input-number v-model="form.cSccClOxygenLjMb" placeholder="请输入氧气累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="氮气累计目标产量" prop="cSccClNitrogenLjMb">-->
          <!--<el-input-number v-model="form.cSccClNitrogenLjMb" placeholder="请输入氮气累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="氩气累计目标产量" prop="cSccClArgonLjMb">-->
          <!--<el-input-number v-model="form.cSccClArgonLjMb" placeholder="请输入氩气累计目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="全焦当月目标产量" prop="cSccClQjDyMb">-->
          <!--<el-input-number v-model="form.cSccClQjDyMb" placeholder="请输入全焦当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="冶金焦当月目标产量" prop="cSccClYqjDyMb">-->
          <!--<el-input-number v-model="form.cSccClYqjDyMb" placeholder="请输入冶金焦当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="煤焦油当月目标产量" prop="cSccClMjyDyMb">-->
          <!--<el-input-number v-model="form.cSccClMjyDyMb" placeholder="请输入煤焦油当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="硫酸铵当月目标产量" prop="cSccClLsaDyMb">-->
          <!--<el-input-number v-model="form.cSccClLsaDyMb" placeholder="请输入硫酸铵当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="轻苯当月目标产量" prop="cSccClQbDyMb">-->
          <!--<el-input-number v-model="form.cSccClQbDyMb" placeholder="请输入轻苯当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="1号回转窑当月目标产量" prop="cSccCl1hzyDyMb">-->
          <!--<el-input-number v-model="form.cSccCl1hzyDyMb" placeholder="请输入1号回转窑当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="2号回转窑当月目标产量" prop="cSccCl2hzyDyMb">-->
          <!--<el-input-number v-model="form.cSccCl2hzyDyMb" placeholder="请输入2号回转窑当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="宝龙球团当月目标产量" prop="cSccClBlqtDyMb">-->
          <!--<el-input-number v-model="form.cSccClBlqtDyMb" placeholder="请输入宝龙球团当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="氢冶金当月目标产量" prop="cSccClQyjDyMb">-->
          <!--<el-input-number v-model="form.cSccClQyjDyMb" placeholder="请输入氢冶金当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="白灰当月目标产量" prop="cSccClBhDyMb">-->
          <!--<el-input-number v-model="form.cSccClBhDyMb" placeholder="请输入白灰当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="1号连铸机当月目标产量" prop="cSccCl1lzjDyMb">-->
          <!--<el-input-number v-model="form.cSccCl1lzjDyMb" placeholder="请输入1号连铸机当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="2号连铸机当月目标产量" prop="cSccCl2lzjDyMb">-->
          <!--<el-input-number v-model="form.cSccCl2lzjDyMb" placeholder="请输入2号连铸机当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="3号连铸机当月目标产量" prop="cSccCl3lzjDyMb">-->
          <!--<el-input-number v-model="form.cSccCl3lzjDyMb" placeholder="请输入3号连铸机当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="废钢破碎当月目标产量" prop="cSccClPsDyMb">-->
          <!--<el-input-number v-model="form.cSccClPsDyMb" placeholder="请输入废钢破碎当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="废钢剪切当月目标产量" prop="cSccClJqDyMb">-->
          <!--<el-input-number v-model="form.cSccClJqDyMb" placeholder="请输入废钢剪切当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="钢渣当月目标产量" prop="cSccClGzDyMb">-->
          <!--<el-input-number v-model="form.cSccClGzDyMb" placeholder="请输入钢渣当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="磁选粉当月目标产量" prop="cSccClQxfDyMb">-->
          <!--<el-input-number v-model="form.cSccClQxfDyMb" placeholder="请输入磁选粉当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="尾渣当月目标产量" prop="cSccClWxDyMb">-->
          <!--<el-input-number v-model="form.cSccClWxDyMb" placeholder="请输入尾渣当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="一棒当月目标产量" prop="cSccCl1bDyMb">-->
          <!--<el-input-number v-model="form.cSccCl1bDyMb" placeholder="请输入一棒当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="二棒当月目标产量" prop="cSccCl2bDyMb">-->
          <!--<el-input-number v-model="form.cSccCl2bDyMb" placeholder="请输入二棒当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="一线当月目标产量" prop="cSccCl1yDyMb">-->
          <!--<el-input-number v-model="form.cSccCl1yDyMb" placeholder="请输入一线当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="二线当月目标产量" prop="cSccCl2yDyMb">-->
          <!--<el-input-number v-model="form.cSccCl2yDyMb" placeholder="请输入二线当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中型当月目标产量" prop="cSccClZxDyMb">-->
          <!--<el-input-number v-model="form.cSccClZxDyMb" placeholder="请输入中型当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中频当月目标产量" prop="cSccClZpDyMb">-->
          <!--<el-input-number v-model="form.cSccClZpDyMb" placeholder="请输入中频当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="真空感应当月目标产量" prop="cSccClZkgyDyMb">-->
          <!--<el-input-number v-model="form.cSccClZkgyDyMb" placeholder="请输入真空感应当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="电渣当月目标产量" prop="cSccClDzDyMb">-->
          <!--<el-input-number v-model="form.cSccClDzDyMb" placeholder="请输入电渣当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="真空自耗当月目标产量" prop="cSccClZkzhDyMb">-->
          <!--<el-input-number v-model="form.cSccClZkzhDyMb" placeholder="请输入真空自耗当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="成品当月目标产量" prop="cSccClCpDyMb">-->
          <!--<el-input-number v-model="form.cSccClCpDyMb" placeholder="请输入成品当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="钢绞线当月目标产量" prop="cSccClGjxDyMb">-->
          <!--<el-input-number v-model="form.cSccClGjxDyMb" placeholder="请输入钢绞线当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="镀锌想当月目标产量" prop="cSccClDxxDyMb">-->
          <!--<el-input-number v-model="form.cSccClDxxDyMb" placeholder="请输入镀锌想当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="蒸汽发电当月目标产量" prop="cSccClZqDyMb">-->
          <!--<el-input-number v-model="form.cSccClZqDyMb" placeholder="请输入蒸汽发电当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="干熄焦发电当月目标产量" prop="cSccClGxjDyMb">-->
          <!--<el-input-number v-model="form.cSccClGxjDyMb" placeholder="请输入干熄焦发电当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="氧气当月目标产量" prop="cSccClOxygenDyMb">-->
          <!--<el-input-number v-model="form.cSccClOxygenDyMb" placeholder="请输入氧气当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="氮气当月目标产量" prop="cSccClNitrogenDyMb">-->
          <!--<el-input-number v-model="form.cSccClNitrogenDyMb" placeholder="请输入氮气当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="氩气当月目标产量" prop="cSccClArgonDyMb">-->
          <!--<el-input-number v-model="form.cSccClArgonDyMb" placeholder="请输入氩气当月目标产量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="删除标志" prop="cState">-->
          <!--<el-input-number v-model="form.cState" placeholder="请输入删除标志" />-->
        <!--</el-form-item>-->
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>

<script>
import { listScc, getScc, delScc, addScc, updateScc } from "@/api/scrb/scc";

export default {
  name: "Scc",
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 生产处生产日报录入表格数据
      sccList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        cSccClQjDrMb: null,
        cSccClYqjDrMb: null,
        cSccClMjyDrMb: null,
        cSccClLsaDrMb: null,
        cSccClQbDrMb: null,
        cSccCl1hzyDrMb: null,
        cSccCl2hzyDrMb: null,
        cSccClBlqtDrMb: null,
        cSccClQyjDrMb: null,
        cSccClBhDrMb: null,
        cSccCl1lzjDrMb: null,
        cSccCl2lzjDrMb: null,
        cSccCl3lzjDrMb: null,
        cSccClPsDrMb: null,
        cSccClJqDrMb: null,
        cSccClGzDrMb: null,
        cSccClQxfDrMb: null,
        cSccClWxDrMb: null,
        cSccCl1bDrMb: null,
        cSccCl2bDrMb: null,
        cSccCl1yDrMb: null,
        cSccCl2yDrMb: null,
        cSccClZxDrMb: null,
        cSccClZpDrMb: null,
        cSccClZkgyDrMb: null,
        cSccClDzDrMb: null,
        cSccClZkzhDrMb: null,
        cSccClCpDrMb: null,
        cSccClGjxDrMb: null,
        cSccClDxxDrMb: null,
        cSccClZqDrMb: null,
        cSccClGxjDrMb: null,
        cSccClOxygenDrMb: null,
        cSccClNitrogenDrMb: null,
        cSccClArgonDrMb: null,
        cSccClQjLjMb: null,
        cSccClYqjLjMb: null,
        cSccClMjyLjMb: null,
        cSccClLsaLjMb: null,
        cSccClQbLjMb: null,
        cSccCl1hzyLjMb: null,
        cSccCl2hzyLjMb: null,
        cSccClBlqtLjMb: null,
        cSccClQyjLjMb: null,
        cSccClBhLjMb: null,
        cSccCl1lzjLjMb: null,
        cSccCl2lzjLjMb: null,
        cSccCl3lzjLjMb: null,
        cSccClPsLjMb: null,
        cSccClJqLjMb: null,
        cSccClGzLjMb: null,
        cSccClQxfLjMb: null,
        cSccClWxLjMb: null,
        cSccCl1bLjMb: null,
        cSccCl2bLjMb: null,
        cSccCl1yLjMb: null,
        cSccCl2yLjMb: null,
        cSccClZxLjMb: null,
        cSccClZpLjMb: null,
        cSccClZkgyLjMb: null,
        cSccClDzLjMb: null,
        cSccClZkzhLjMb: null,
        cSccClCpLjMb: null,
        cSccClGjxLjMb: null,
        cSccClDxxLjMb: null,
        cSccClZqLjMb: null,
        cSccClGxjLjMb: null,
        cSccClOxygenLjMb: null,
        cSccClNitrogenLjMb: null,
        cSccClArgonLjMb: null,
        cSccClQjDyMb: null,
        cSccClYqjDyMb: null,
        cSccClMjyDyMb: null,
        cSccClLsaDyMb: null,
        cSccClQbDyMb: null,
        cSccCl1hzyDyMb: null,
        cSccCl2hzyDyMb: null,
        cSccClBlqtDyMb: null,
        cSccClQyjDyMb: null,
        cSccClBhDyMb: null,
        cSccCl1lzjDyMb: null,
        cSccCl2lzjDyMb: null,
        cSccCl3lzjDyMb: null,
        cSccClPsDyMb: null,
        cSccClJqDyMb: null,
        cSccClGzDyMb: null,
        cSccClQxfDyMb: null,
        cSccClWxDyMb: null,
        cSccCl1bDyMb: null,
        cSccCl2bDyMb: null,
        cSccCl1yDyMb: null,
        cSccCl2yDyMb: null,
        cSccClZxDyMb: null,
        cSccClZpDyMb: null,
        cSccClZkgyDyMb: null,
        cSccClDzDyMb: null,
        cSccClZkzhDyMb: null,
        cSccClCpDyMb: null,
        cSccClGjxDyMb: null,
        cSccClDxxDyMb: null,
        cSccClZqDyMb: null,
        cSccClGxjDyMb: null,
        cSccClOxygenDyMb: null,
        cSccClNitrogenDyMb: null,
        cSccClArgonDyMb: null,
        remake: null,
        zfree1: null,
        zfree2: null,
        zfree3: null,
        zfree4: null,
        zfree5: null,
        zfree6: null,
        zfree7: null,
        zfree8: null,
        zfree9: null,
        zfree10: null,
        zfree11: null,
        zfree12: null,
        zfree13: null,
        zfree14: null,
        zfree15: null,
        cState: null,
         },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
      },
      isInsert:true,
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询生产处生产日报录入列表 */
    getList() {
      this.loading = true;
      listScc(this.queryParams).then(response => {
        this.sccList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        cDate: null,
        cSccClQjDrMb: null,
        cSccClYqjDrMb: null,
        cSccClMjyDrMb: null,
        cSccClLsaDrMb: null,
        cSccClQbDrMb: null,
        cSccCl1hzyDrMb: null,
        cSccCl2hzyDrMb: null,
        cSccClBlqtDrMb: null,
        cSccClQyjDrMb: null,
        cSccClBhDrMb: null,
        cSccCl1lzjDrMb: null,
        cSccCl2lzjDrMb: null,
        cSccCl3lzjDrMb: null,
        cSccClPsDrMb: null,
        cSccClJqDrMb: null,
        cSccClGzDrMb: null,
        cSccClQxfDrMb: null,
        cSccClWxDrMb: null,
        cSccCl1bDrMb: null,
        cSccCl2bDrMb: null,
        cSccCl1yDrMb: null,
        cSccCl2yDrMb: null,
        cSccClZxDrMb: null,
        cSccClZpDrMb: null,
        cSccClZkgyDrMb: null,
        cSccClDzDrMb: null,
        cSccClZkzhDrMb: null,
        cSccClCpDrMb: null,
        cSccClGjxDrMb: null,
        cSccClDxxDrMb: null,
        cSccClZqDrMb: null,
        cSccClGxjDrMb: null,
        cSccClOxygenDrMb: null,
        cSccClNitrogenDrMb: null,
        cSccClArgonDrMb: null,
        cSccClQjLjMb: null,
        cSccClYqjLjMb: null,
        cSccClMjyLjMb: null,
        cSccClLsaLjMb: null,
        cSccClQbLjMb: null,
        cSccCl1hzyLjMb: null,
        cSccCl2hzyLjMb: null,
        cSccClBlqtLjMb: null,
        cSccClQyjLjMb: null,
        cSccClBhLjMb: null,
        cSccCl1lzjLjMb: null,
        cSccCl2lzjLjMb: null,
        cSccCl3lzjLjMb: null,
        cSccClPsLjMb: null,
        cSccClJqLjMb: null,
        cSccClGzLjMb: null,
        cSccClQxfLjMb: null,
        cSccClWxLjMb: null,
        cSccCl1bLjMb: null,
        cSccCl2bLjMb: null,
        cSccCl1yLjMb: null,
        cSccCl2yLjMb: null,
        cSccClZxLjMb: null,
        cSccClZpLjMb: null,
        cSccClZkgyLjMb: null,
        cSccClDzLjMb: null,
        cSccClZkzhLjMb: null,
        cSccClCpLjMb: null,
        cSccClGjxLjMb: null,
        cSccClDxxLjMb: null,
        cSccClZqLjMb: null,
        cSccClGxjLjMb: null,
        cSccClOxygenLjMb: null,
        cSccClNitrogenLjMb: null,
        cSccClArgonLjMb: null,
        cSccClQjDyMb: null,
        cSccClYqjDyMb: null,
        cSccClMjyDyMb: null,
        cSccClLsaDyMb: null,
        cSccClQbDyMb: null,
        cSccCl1hzyDyMb: null,
        cSccCl2hzyDyMb: null,
        cSccClBlqtDyMb: null,
        cSccClQyjDyMb: null,
        cSccClBhDyMb: null,
        cSccCl1lzjDyMb: null,
        cSccCl2lzjDyMb: null,
        cSccCl3lzjDyMb: null,
        cSccClPsDyMb: null,
        cSccClJqDyMb: null,
        cSccClGzDyMb: null,
        cSccClQxfDyMb: null,
        cSccClWxDyMb: null,
        cSccCl1bDyMb: null,
        cSccCl2bDyMb: null,
        cSccCl1yDyMb: null,
        cSccCl2yDyMb: null,
        cSccClZxDyMb: null,
        cSccClZpDyMb: null,
        cSccClZkgyDyMb: null,
        cSccClDzDyMb: null,
        cSccClZkzhDyMb: null,
        cSccClCpDyMb: null,
        cSccClGjxDyMb: null,
        cSccClDxxDyMb: null,
        cSccClZqDyMb: null,
        cSccClGxjDyMb: null,
        cSccClOxygenDyMb: null,
        cSccClNitrogenDyMb: null,
        cSccClArgonDyMb: null,
        remake: null,
        zfree1: null,
        zfree2: null,
        zfree3: null,
        zfree4: null,
        zfree5: null,
        zfree6: null,
        zfree7: null,
        zfree8: null,
        zfree9: null,
        zfree10: null,
        zfree11: null,
        zfree12: null,
        zfree13: null,
        zfree14: null,
        zfree15: null,
        cState: null
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.cDate)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.isInsert=true;
      this.open = true;
      var dateTime=new Date();
      dateTime=dateTime.setDate(dateTime.getDate()-1);
      dateTime=new Date(dateTime);
      const yesDate =this.formatDate(dateTime,"yyyy-MM-dd");
      getScc(yesDate).then(response => {
        this.form = response.data;
        if(this.form==undefined){
          this.reset();
        }
        this.open = true;
        this.title = "添加生产处生产日报录入";
      });
    },

    // /** 新增按钮操作 */
    // handleAdd() {
    //   this.reset();
    //   this.open = true;
    //   this.isInsert=true;
    //   this.title = "添加设备能源部生产日报录入";
    // },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      this.isInsert=false;
      const cDates = row.cDate || this.ids
      getScc(cDates).then(response => {
        this.form = response.data;
        this.open = true;
        this.title = "修改生产处生产日报录入";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (!this.isInsert) {
            updateScc(this.form).then(response => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addScc(this.form).then(response => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const cDates = row.cDate || this.ids;
      this.$modal.confirm('是否确认删除生产处生产日报录入编号为"' + cDates + '"的数据项？').then(function() {
        return delScc(cDates);
      }).then(() => {
        this.getList();
        this.$modal.msgSuccess("删除成功");
      }).catch(() => {});
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('scrb/scc/export', {
        ...this.queryParams
      }, `scc_${new Date().getTime()}.xlsx`)
    },
    formatDate(date,fmt) {
      if(/(y+)/.test(fmt)){
        fmt = fmt.replace(RegExp.$1,(date.getFullYear() + '').substr(4 - RegExp.$1.length))
      }
      let o ={
        'M+': date.getMonth()+1,
        'd+': date.getDate(),
        'h+': date.getHours(),
        'm+': date.getMinutes(),
        's+': date.getSeconds()
      };
      for (let k in o){
        if(new RegExp(`(${k})`).test(fmt))
        {
          let str = o[k] + '';
          fmt=fmt.replace(RegExp.$1,(RegExp.$1.length===1)?str:this.padLeftZero(str))
        }

      }
      return fmt
    },
    padLeftZero(str){
      return ('00' + str).substr(str.length)
    },
  }
};
</script>
<style lang="scss" scoped>
  table
  {
    border-collapse: collapse;
    margin: 0 auto;
    text-align: center;
  }
  table td, table th
  {
    border: 1px solid #cad9ea;
    color: #666;
    height: 30px;
  }
  table thead th
  {
    background-color: #CCE8EB;
    width: 100px;
  }
  table tr:nth-child(odd)
  {
    background: #fff;
  }
  table tr:nth-child(even)
  {
    background: #F5FAFA;
  }
</style>
